package com.highcom.mapper;

import com.github.pagehelper.Page;
import com.highcom.model.CheckItem;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @version 1.0
 * @Author YangJiaQuan_hrbnu
 * @Date 2024/7/30 14:17
 */
public interface CheckItemDao {

    void add(CheckItem checkItem);

    Page<CheckItem> selectByCondition(@Param("queryString") String queryString);

    void deleteById(Integer id);

    long findCountByCheckItemId(Integer checkItemId);

    CheckItem findById(Integer id);

    void edit(CheckItem checkItem);

    List<CheckItem> findAll();
}
